<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--

    Licensed to the Apache Software Foundation (ASF) under one
    or more contributor license agreements.  See the NOTICE file
    distributed with this work for additional information
    regarding copyright ownership.  The ASF licenses this file
    to you under the Apache License, Version 2.0 (the
    "License"); you may not use this file except in compliance
    with the License.  You may obtain a copy of the License at

      http://www.apache.org/licenses/LICENSE-2.0

    Unless required by applicable law or agreed to in writing,
    software distributed under the License is distributed on an
    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
    KIND, either express or implied.  See the License for the
    specific language governing permissions and limitations
    under the License.

-->
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr">
<head>
<title>Add Server Instance Wizard: Server Location</title>
<link rel="stylesheet" href="ide.css" title="Oracle BLAFDoc" type="text/css"/>
</head>

<body>
<p><a id="AS_RegServ_EnterPlatformDir" name="AS_RegServ_EnterPlatformDir"></a></p>
<div id="NBCSH4867"><!-- infolevel="all" infotype="General" --><a id="sthref709" name="sthref709"></a>
<h1>Add Server Instance Wizard: Server Location</h1>
<a name="BEGIN" id="BEGIN"></a>
<p>You see this page of the Add Server Instance wizard when you specify domain details to register an instance of the GlassFish Server v1 or GlassFish Server v2.x with the IDE. To register a server instance, you specify the properties of a local or remote domain.</p>
<p>To register an instance of GlassFish Server v1 or v2.x you need to install the GlassFish Server v1, v2.x plugin from the Update Center.</p>
<p>Use this page to specify the following information about the location of the GlassFish Server and the type of domain you are registering.</p>

<table summary="User interface elements and descriptions" dir="ltr" border="1" width="100%" frame="hsides" rules="groups" cellpadding="3" cellspacing="0">
<col width="24%" />
<col width="*" />
<thead>
<tr align="left" valign="top">
<th align="left" valign="bottom" id="r1c1-t78">Element</th>
<th align="left" valign="bottom" id="r1c2-t78">Description</th>
</tr>
</thead>
<tbody>
<tr align="left" valign="top">
<td align="left" id="r2c1-t78" headers="r1c1-t78">
<p>Server Location</p>
</td>
<td align="left" headers="r2c1-t78 r1c2-t78">Supply the path to the local installation of the GlassFish Server. Click Browse to navigate to the location.</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r3c1-t78" headers="r1c1-t78">Type of Domain</td>
<td align="left" headers="r3c1-t78 r1c2-t78">Select the type of domain to register.</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r4c1-t78" headers="r1c1-t78">&nbsp;&nbsp;&nbsp;&nbsp;Register Local Default Domain</td>
<td align="left" headers="r4c1-t78 r1c2-t78">Select this type to register a domain located in the default domain folder of the platform you specify.
<p>Choose a domain from the list of accessible domains found in the default domain folder.</p>
<p><b>Note</b>: When you install the server, the default domain folder containing a default domain is created in the local installation folder.</p>
</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r5c1-t78" headers="r1c1-t78">&nbsp;&nbsp;&nbsp;&nbsp;Register Local Domain</td>
<td align="left" headers="r5c1-t78 r1c2-t78">Select this type to register a local domain located outside the default domain folder of the platform you specify. If you select this type, you need to specify the location of the local domain.</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r6c1-t78" headers="r1c1-t78">&nbsp;&nbsp;&nbsp;&nbsp;Register Remote Domain</td>
<td align="left" headers="r6c1-t78 r1c2-t78">Select this type to register a remote domain. If you select this type, you need to supply the host and communication port for the remote domain.You cannot stop or start a remote server from within the IDE.</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r7c1-t78" headers="r1c1-t78">&nbsp;&nbsp;&nbsp;&nbsp;Create Personal Domain</td>
<td align="left" headers="r7c1-t78 r1c2-t78">Select this type to create a new domain. This option is only available if you are registering an instance of the GlassFish Server. If you select this type, you need to specify where to create the new domain. Choosing this type enables you to specify port settings for the new domain. You can also choose a profile type from the drop-down list</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r8c1-t78" headers="r1c1-t78">&nbsp;&nbsp;&nbsp;&nbsp;Profile</td>
<td align="left" headers="r8c1-t78 r1c2-t78">If you are registering an instance of the GlassFish Server v2.x, when you create a personal domain you can choose a Profile type from the drop-down list. If you are registering an earlier version of the application server, only the Default profile is available.
<p>You choose a profile type according to how you intend to use the application server software. The personal domain is created and configured based on the profile that you choose.</p>
</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r9c1-t78" headers="r1c1-t78">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default</td>
<td align="left" headers="r9c1-t78 r1c2-t78">This domain is essentially the same as the Developer profile.</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r10c1-t78" headers="r1c1-t78">
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Developer</p>
</td>
<td align="left" headers="r10c1-t78 r1c2-t78">This domain is configured to be run in a development environment. This configuration offers the advantage of faster server startup.</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r11c1-t78" headers="r1c1-t78">
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Cluster</p>
</td>
<td align="left" headers="r11c1-t78 r1c2-t78">The domain is configured so that it can be used as part of a cluster of application server instances.</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r12c1-t78" headers="r1c1-t78">
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Enterprise</p>
</td>
<td align="left" headers="r12c1-t78 r1c2-t78">The domain is configured to be used in a production environment for large-scale deployments. This profile offers greater security. This option requires that you have HADB installed.</td>
</tr>
</tbody>
</table>
<br />
<!-- -->
<p><b>Note</b>: When you register an existing domain, the IDE uses the port numbers and other properties specified in the domain configuration.</p>
<a id="NBCSH4872" name="NBCSH4872"></a>
<hr><p><b>Related Topics</b></p>
<p><i>Developing Applications with NetBeans IDE</i>, 
<object classid="java:org.netbeans.modules.javahelp.BrowserDisplayer">
<param name="content" value="http://www.oracle.com/pls/topic/lookup?ctx=nb8200&id=NBDAG1681">
<param name="text" value="<html><u>&quot;Working with Glassfish Application Servers&quot;</u></html>">
<param name="textFontSize" value="medium">
<param name="textColor" value="blue">
</object>
</p>

<!-- -->
<!-- Start Footer -->


<table summary="" cellspacing="0" cellpadding="0" width="100%">
<tr>
<td align="left" width="86%"><a href="legal_notice.htm">
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements; and to You under the Apache License, Version 2.0.</a>
</td>
</tr>
</table>
<!-- -->
</body>
</html>
